package com.pig4cloud.pigx.strategy.config.strategy;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 合约模块配置
 *
 * @since 2022/8/27 14:23
 */
@Data
@Component
@ConfigurationProperties(prefix = "duckweed.strategy")
public class StrategyConfig {

    /**
     * 定时器设置
     */
    private ContractScheduledConfig scheduled;


    /**
     * websocket设置
     */
    private ContractWebsocketConfig websocket;
}
